package usi.ch.onto.main;

import java.util.Date;
import usi.ch.onto.yago.ImportFacts;


public class MainImportFacts {
	public static void main(String[] args) throws Exception {
		System.out.println("start " + new Date().toString());
		long start = System.currentTimeMillis();
		ImportFacts ifacts = new ImportFacts();
		
		
		ifacts.importTable("C:\\Users\\Aida\\Desktop\\yago\\ontology\\no for the moment\\subClass", true, false, false, false, true, true, false);		
		
//		ifacts.importTable("C:\\zips\\yago\\ontology\\tab1");
//		ifacts.importTable("C:\\zips\\yago\\ontology\\tab1or2");
//		ifacts.importTable("C:\\zips\\yago\\ontology\\tab1and2");
//		ifacts.importTable("C:\\zips\\yago\\ontology\\tab2");

		//to parse the arg2 terms of this specific table 
		//to import from file IsAExtractor.txt
		//dont add terms to other tables and use isAExtractor
		//ifacts.importTable("C:\\Users\\Aida\\Desktop\\yago\\ontology\\tabext", false, false, true, true);
		//import ArticleExtractor
		//ifacts.importTable("C:\\Users\\Aida\\Desktop\\yago\\ontology\\tabext", false, false, true, false);
		
		System.out.println("took " + ((System.currentTimeMillis() - start ) / 1000.0 ) + " s");
	}
}
